from mediatorpattern.concretecolleague1 import ConcreteColleague1
from mediatorpattern.concretecolleague2 import ConcreteColleague2
from mediatorpattern.concretemediator import ConcreteMediator

md = ConcreteMediator()
c1 = ConcreteColleague1()
c2 = ConcreteColleague2()
md.register(c1)
md.register(c2)
c1.send()
print('----------------')
c2.send()
